package com.hz.web.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hz.web.dao.QtUserDao;
import com.hz.web.entity.QtUserEntity;
import com.hz.web.service.IqtUserService;

@Service
public class QtUserImpl implements IqtUserService{

    @Resource
    private QtUserDao qtUserDao;

    /**
     * 查询用户
     * 
     * @param map
     * @return
     */
    @Override
    public QtUserEntity queryUser(Map<String, Object> map) {

        return qtUserDao.queryUser(map);
    }

    /**
     * 新增用户
     * 
     * @param map
     * @return
     */
    @Override
    public int addUser(Map<String, Object> map) {

        return qtUserDao.addUser(map);
    }

}
